Authentication
The Authentication settings menu in the Digisquares platform allows users to configure various authentication methods and security protocols across different application types: Copilot, Web, and Mobile. By leveraging these settings, users can ensure secure and streamlined access to their applications.
- Copilot Application
- Web and Mobile Applications
API Key Management
- Generate API Key: Click the "Generate" button to create a new API key.
- Expiration: Specify an expiration date for the API key to ensure it’s valid only for a set period.
- Access Type: Choose the level of access granted by the API key (e.g.,
LoginCredential
).
Social Authentication Options
Enable users to log in using their social media accounts by configuring OAuth settings for each platform. Simply check the box next to each platform you wish to enable.
- Google: Enable and configure Google OAuth for secure sign-in.
- Facebook: Enable and configure Facebook OAuth.
- LinkedIn: Enable and configure LinkedIn OAuth.
- GitHub: Enable and configure GitHub OAuth.
- Twitter: Enable and configure Twitter OAuth.
- Apple: Enable and configure Apple OAuth.
Login and Navigation Pages
- Login Page: Select the login page that users will see first. This can be customized from a dropdown of available pages.
- Home Page: Choose the destination page users will be directed to after logging in.
Auth Function
- Auth Function: Define the function responsible for verifying user identity during the login process. This function handles all checks necessary to authenticate users based on the chosen method.
Steps to Configure Authentication
Copilot Application
-
Access Authentication Settings: Navigate to Settings > Authentication in the Copilot application.
-
Generate and Configure API Key:
- Click "Generate" to create a new API key.
- Set the expiration date and specify the access type.
-
Enable Social Authentication:
- Check the boxes for desired social platforms (Google, Facebook, LinkedIn, GitHub, Twitter, Apple).
- Configure the necessary OAuth settings by providing the required credentials from each platform.
-
Save: Click "Save" to apply and secure the settings for the Copilot application.
Web and Mobile Applications
-
Access Authentication Settings: Navigate to Settings > Authentication in the Web or Mobile application.
-
Configure Pages:
- Select the login page from the dropdown menu for user sign-in.
- Choose the home page where users will be redirected post-login.
-
Define Authentication Function:
- Select the auth function from the dropdown to specify the logic used in the authentication process.
-
Save: Save the configuration to activate your chosen settings.
Conclusion
The Authentication settings in the Digisquares platform offer robust security options and flexibility for user access. By leveraging API keys, social login integrations, and customizable navigation options, administrators can enhance both the security and the user experience across their applications.
Regularly review your authentication settings to ensure they align with security standards and to update any expired API keys or OAuth credentials.